import request from '@/utils/request'
//新增
export function addHandle(data) {
  return request({
    url: 'equipmentManagement/add',
    method: 'post',
    data,
  })
}

//删除
export function deleteHandle(data) {
  return request({
    url: 'equipmentManagement/delete',
    method: 'post',
    data,
  })
}

//修改
export function editHandle(data) {
  return request({
    url: 'equipmentManagement/edit',
    method: 'post',
    data,
  })
}
// 绑定
export function bindMallHandle(data) {
  return request({
    url: 'equipmentManagement/bindStore',
    method: 'post',
    data,
  })
}
// 获取列表
export function getListHandle(data) {
  return request({
    url: 'shop/list',
    method: 'post',
    data,
  })
}

export default {
  addHandle,
  editHandle,
  deleteHandle,
  bindMallHandle,
  getListHandle,
}
